import { createI18n } from 'vue-i18n'
import zh from './zh'
import ug from './ug'

const i18n = createI18n({
  locale: uni.getStorageSync('language') || 'zh',
  messages: {
    zh,
    ug
  }
})

export default i18n 